PATH![]() |
![]() ![]() |
Determines whether a task is preemptively scheduled.
Boolean MPTaskIsPreemptive (MPTaskID taskID);
If you have code that may be called from either cooperative or preemptive tasks, that code can call MPTaskIsPreemptive if its actions should differ depending on its execution environment.